package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzd
 * @since 2025-10-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Environmental对象", description="")
public class Environmental implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "单位id")
    @TableField("product_id")
    private Integer productId;

    @ApiModelProperty(value = "VOCs原辅料名称")
    @TableField("accessory_name")
    private String accessoryName;

    @ApiModelProperty(value = "辅料种类")
    @TableField("accessory_category")
    private String accessoryCategory;

    @ApiModelProperty(value = "辅料性质")
    @TableField("accessory_nature")
    private String accessoryNature;

    @ApiModelProperty(value = "辅料类别")
    @TableField("accessory_kind")
    private String accessoryKind;

    @ApiModelProperty(value = "辅料类型")
    @TableField("accessory_type")
    private String accessoryType;

    @ApiModelProperty(value = "辅料类型")
    @TableField("accessory_type_one")
    private String accessoryTypeOne;

    @ApiModelProperty(value = "辅料类型")
    @TableField("accessory_type_two")
    private String accessoryTypeTwo;

    @ApiModelProperty(value = "id")
    @TableField("accessory_code")
    private String accessoryCode;

    @ApiModelProperty(value = "生产厂家")
    private String manufacturer;

    @ApiModelProperty(value = "生产厂家联系方式")
    @TableField("manufacturer_tel")
    private String manufacturerTel;

    @ApiModelProperty(value = "使用工序")
    @TableField("process_steps")
    private String processSteps;

    @ApiModelProperty(value = "原辅料密度")
    private String density;

    @ApiModelProperty(value = "VOCs含量单位（g/L或%（质量分数））")
    @TableField("quality_score")
    private String qualityScore;

    @ApiModelProperty(value = "含量获取方式")
    @TableField("voc_url")
    private String vocUrl;

    @ApiModelProperty(value = "VOCs含量（施工状态）")
    @TableField("voc_values")
    private String vocValues;

    @ApiModelProperty(value = "替代前后环境效益（单位产品VOCs减排量等指标）说明")
    private String benefit;

    @TableField("creation_time")
    private LocalDateTime creationTime;

    @TableField(exist = false)
    private List<Dosage> dosageList;

}
